]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Use privacy_indicator_color
authorrobert.mader@collabora.com <robert.mader@collabora.com>
Sat, 29 Jul 2023 13:58:39 +0000 (16:58 +0300)
committerrobert.mader@collabora.com <robert.mader@collabora.com>
Tue, 1 Aug 2023 10:07:24 +0000 (13:07 +0300)
For privacy indicators and screen sharing. For the later also remove
the transparentize so it becomes more similar to the screen recording
indicator.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2852>

data/theme/gnome-shell-sass/widgets/_panel.scss

index bffa403307ef2c540c1a48c15b1cab87125187de..b8b2a9e3aae5ae5cd7cdcc6812bf52d55c65145d 100644 (file)
@@ -1,6 +1,8 @@
 /* Top Bar */
 // a.k.a. the panel
 
+$privacy_indicator_color: $orange_3;
+
 $panel_bg_color: if($variant == 'light', $light_3, $dark_5);
 $panel_fg_color: if($variant == 'light', $fg_color, darken($fg_color, 5%));
 $panel_border_color: if($variant == 'light', darken($panel_bg_color, 2%), $panel_bg_color);
@@ -74,7 +76,7 @@ $panel_transition_duration: 250ms; // same as the overview transition duration
     }
 
     &.screen-sharing-indicator {
-      @include panel_button($warning_color, transparentize(black, 0.2), $flat: false);
+      @include panel_button($privacy_indicator_color, $flat: false);
     }
 
     // clock
@@ -101,7 +103,7 @@ $panel_transition_duration: 250ms; // same as the overview transition duration
   }
 
   // important privacy related indicators
-  .privacy-indicator { color: $warning_color; }
+  .privacy-indicator { color: $privacy_indicator_color; }
 }
 
 // App Menu